package com.visitorspecials.tankbattle;

import android.app.Activity;
import android.app.ActivityManager.RunningAppProcessInfo;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.os.Bundle;
import android.os.Debug;
import android.opengl.*;
import android.util.DebugUtils;
import android.view.Window;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import java.net.Inet4Address;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.*;

import com.visitorspecials.tankbattle.server.HelperFuncs;
import com.visitorspecials.tankbattle.server.TankBattleServer;

public class TankBattleActivity extends Activity
{
	// http://blog.jayway.com/2009/12/03/opengl-es-tutorial-for-android-part-i/

	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		Sprite.initTextures(this);

		super.onCreate(savedInstanceState);
		
		TankBattleGlSurfaceView view = new TankBattleGlSurfaceView(this);
		this.setContentView(view);
	}
}
